| TASKS: - Configure IP addresses on R1 and R2 as per topology
- Configure Loopback interface on R2 10.1.1.1/32
- Configure 1.1.1.0 as primary static route
- Configure 1.1.2.0 as floating static route
- Verify results by shutting down primary route interface of R1, R2 and both.
|
! Configuration of R1 hostname R1
interface FastEthernet0/0 ip address 1.1.2.1 255.255.255.0 no shut
interface FastEthernet0/1 ip address 1.1.1.1 255.255.255.0 no shut
ip route 10.1.1.1 255.255.255.255 1.1.1.100 ip route 10.1.1.1 255.255.255.255 1.1.2.50 15
! Configuration of R2 hostname R2
interface Loopback0 ip address 10.1.1.1 255.255.255.255
interface FastEthernet0/0 ip address 1.1.2.50 255.255.255.0 no shut
interface FastEthernet0/1 ip address 1.1.1.100 255.255.255.0 no shut
| Explanation
Primary Static route with default Administrative distance Floating Static route with administrative distance of 15
|
Verification
R1#show ip route
1.0.0.0/24 is subnetted, 2 subnets
C 1.1.1.0 is directly connected, FastEthernet0/1
C 1.1.2.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 1 subnets
S 10.1.1.1 [1/0] via 1.1.1.100
Shut down R1 primary route interface and check routing table now
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 1.1.2.1 YES manual up up
FastEthernet0/1 1.1.1.1 YES manual administratively down down
R1#sh ip route
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.2.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 1 subnets
S 10.1.1.1 [15/0] via 1.1.2.50
TASKs:
- Confiigure IP addresses as per diagram
- Configure static ip address on R1 to reach network 2.2.2.0 and Default IP address on R3 to reach network 1.1.1.0
! R1 Configuration hostname R1
interface FastEthernet0/0 ip address 1.1.1.1 255.255.255.252 no shut
ip route 2.2.2.0 255.255.255.252 1.1.1.2
! R2 Configuration hostname R2
interface FastEthernet0/0 ip address 1.1.1.2 255.255.255.252 no shut
interface FastEthernet0/1 ip address 2.2.2.1 255.255.255.252 no shut
! R3 Configuration hostname R3
interface FastEthernet0/0 ip address 2.2.2.2 255.255.255.252 no shut
ip route 0.0.0.0 0.0.0.0 2.2.2.1
| Changing hostname to R1
Assigning ip address to an interface
Configuring static ip address on R1 to reach 2.2.2.0 network via next-hop 1.1.1.2
Configuring Default ip address on R3 to reach 1.1.1.0 network via 2.2.2.1 Hop
|
Verification of routes
R1#show ip route
1.0.0.0/30 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, FastEthernet0/0
2.0.0.0/30 is subnetted, 1 subnets
S 2.2.2.0 [1/0] via 1.1.1.2
R2#show ip route
1.0.0.0/30 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, FastEthernet0/0
2.0.0.0/30 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, FastEthernet0/1
R3#show ip route
Gateway of last resort is 2.2.2.1 to network 0.0.0.0
2.0.0.0/30 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 2.2.2.1
Verification via Ping
R1#ping 2.2.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/90/152 ms
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/96/232 ms
1. Show controllers
This command will show full hardware level controller information of all attached interfaces.
2. Show controllers serial 0/0
This command will show full hardware level controller information for interface serial 0/0 only
.
3. Show controllers fastethernet 0/0
This command will show full hardware level controller information for interface fastethernet 0/0 only
Controller commands:
1. show controllers
2. show controllers serial 0/0
3. show controllers fastethernet 0/0
R2#show controllers This command show full hardware level detailed information of all interfaces controllers
R2#show controllers serial 0/0 This will only show specific hardware controller information related to serial 0/0
R2#show controllers fastethernet 0/0 This will only show specific hardware controller information related to f 0/0
Please find both commands outpt